package com.flute.haflute.jobbox.communication.messages;

import java.io.Serializable;
import java.rmi.RemoteException;

public interface MessageBase extends Serializable {
	/** 该类消息的类型定义 */
	public static final String type = "MessageBase";
	/** 消息的类型，唯一标示该消息类型的字段 */
	public String getType();
	/** 取得消息内容 */
	public Object getContent() throws RemoteException;
	/** 设置消息内容 */
	public void setContent(Object obj) throws RemoteException;
}
